﻿<cfcomponent>
	<cfinclude template="/catalog/Application.cfc">

	<cffunction name="onRequestStart">
		<!---<cfdump var="#session#">--->
		<cfif (isDefined("session.Logged"))>
			<cfset Logg = "#session.Logged#" >
			<cfif Logg IS NOT "true">
				<cflocation url="/catalog/businesslayer/login.cfm">
			</cfif>
		<cfelse>
			<cflocation url="/catalog/businesslayer/login.cfm">
		</cfif>
	</cffunction>
</cfcomponent>